import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import { Toast } from "vant";
import Vant from "vant";
import "vant/lib/index.css";
// import "./assets/main.css";
import "amfe-flexible";
import "@/assets/icon/iconfont.css";
import { Dialog } from 'vant';
const app = createApp(App);

app.use(Dialog);
app.use(Vant);
app.use(Toast);
app.use(createPinia());
app.use(router);
// app.use(Toast);
app.mount("#app");
